package com.ssm.service;


import com.ssm.entity.Student;
import com.ssm.utils.PageResult;
import com.ssm.vo.StudentVo;


import java.util.List;

public interface StudentService {
    List<Student> findAll();

    PageResult<Student> findByPage(Integer page, Integer pageSize);

    PageResult<Student> conditionFindByPage(Integer page, Integer pageSize, StudentVo studentVo);

    boolean addStudent(Student student);
}
